<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			var student = {
				"id" : 10,
				"name" : "zhangsan",
				"age" : 20,
				"gender" : "男",
				study : function() {
					console.log("name:" + this.name + "gender:" + this.gender)
				}
			}
			console.log(student.name);
			student.study();
			
			var list = [
				{
					"id":24,
					"name":"zhangsan",
					"age":12,
					"gender":"男"
				},
				{
					"id":20,
					"name":"lisi",
					"age":30,
					"gender":"女",
					"interests":[
						{"name":"篮球","time":"4年"},
						{"name":"足球","time":"5年"},
						{"name":"乒乓球","time":"6年"}
					]
				}
			]
			console.log(list[0].name);
			console.log(list[1].interests[0].name);
		</script>
	</head>
	<body>
	</body>
</html>
